package com.gitee.flwwsg.rpc.server;

import com.gitee.flwwsg.rcp.service.HelloService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class HelloServiceImpl implements HelloService {
    private static final Logger logger = LoggerFactory.getLogger(HelloServiceImpl.class);

    @Override
    public String hello(String name) {
        logger.info("helloService 收到： {}。", name);
        String ret = "Hello, " + name;
        logger.info("helloService 返回：{}。", ret);
        return ret;
    }
}
